package com.jacken.mars.commons.enums;


/**
 * @author wq
 */

public enum ExceptionEnum {
    SUCCESS(200, "成功"),
    SERVERERROR(500, "服务器异常"),
    TOKENRERROR(401, "令牌已失效,请重新登录");


    private Integer code;
    private String message;

    ExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
